﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessEntity
{
    /// <summary>
    /// 列表查询条件基类
    /// </summary>
    public class BaseQuerry
    {
        /// <summary>
        /// 分页，每页行数
        /// </summary>
        public Int32 Size { get; set; } = 25;

        /// <summary>
        /// 分页，当前页号
        /// </summary>
        public Int32 Current { get; set; } = 1;

        /// <summary>
        /// 排序字段
        /// </summary>
        public String SortString { get; set; } = "ListID";

        /// <summary>
        /// 排序方式
        /// </summary>
        public String Sort { get; set; } = "DESC";

        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserID { get; set; } = "1";
        /// <summary>
        /// 用户所在单位
        /// </summary>
        public String DepartID { get; set; }

        public string FormCode { get; set; }
    }
}
